#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/shm.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdbool.h>
#include "sem_all_deall.h"

#define LISTEN_PORT  12345 // Port to listen for incoming connections on
#define SERVER_PORT  12345 // Master gate ctrl TCP port
#define SIZE 1024 // Default buffer size

#define SERVER_ACK "ACK"
#define SERVER_ERROR "ERROR"

#define CLIENT_NEW "NEW"
#define CLIENT_CHANGED_PORT "PTR"

/** This structure will return a 
	tokenized string **/
typedef struct msgTokens {
	int size;
	char **tokens;
} msgTokens;
